package cate.common.table.activity.taskactivity.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;

public class TaskActivityBaseRow extends ERow {
    public int taskGroup;

    public int mailId;

    public boolean dailyReset;

    public boolean dayGroup;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("活动ID");
        this.taskGroup = xrw.getInteger("任务分组",0);
        this.mailId = xrw.getInteger("邮件",0);
        this.dailyReset = xrw.getBoolean("是否每天重置", false);
        this.dayGroup = xrw.getBoolean("是否按天分组", false);
    }
}
